.palette {
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 20%;
    height: 25%;
    cursor: pointer;
    position: relative;
}

.colorPalette__header {
    height: 6vh;
    display: flex;
    background: white;
    align-items: center;
    justify-content: flex-start;
}

.colorPalette__slider {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rc-slider {
    width: 400px !important;
    height: 100% !important;
}

.colorPalette__title {
    height: 100%;
    display: flex;
    padding: 10px;
    font-size: 18px;
    background: #ececec;
    align-items: center;
    color: #000;
}

.colorPalette {
    height: 90vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.color__overlay {
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-transform: scale(0.1);
    transform: scale(0.1);
    position: absolute;
}

.color__overlay.show {
    z-index: 10;
    opacity: 1;
    transform: scale(50);
    transition: transform 1s;
}

.color__copy__msg {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    color: #fff;
    font-size: 30px;
    text-transform: uppercase;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: scale(0.1);
    opacity: 0;
    user-select: none;
}

.color__copy__msg h1 {
    font-size: 110px;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
    width: 100%;
    padding: 20px 0;
    text-shadow: 2px 2px rgb(44, 62, 80);
}

.color__copy__msg h1.too-white {
    text-shadow: 2px 2px rgb(102, 103, 104);
}

.color__copy__msg.show {
    opacity: 1;
    transform: scale(1);
    transition: 0.1s ease;
    transition-delay: 0.2s;
    z-index: 11;
}

.color__box {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    text-transform: uppercase;
}

.color__name {
    flex: 1;
    padding: 10px;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.9;
    color: #fff;
}
.too-white {
    color: #000;
}

.copy {
    padding: 5px 10px;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.palette:hover .copy {
    opacity: 0.8;
    transition: 0.6s;
}

.colorPalette__fotter {
    background: white;
    height: 4vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-weight: bold;
}

.footer__text {
    margin-right: 15px;
}

.custom-select {
    position: relative;
    display: block;
    max-width: 400px;
    min-width: 180px;
    margin: 0 auto;
    border: 1px solid #fff;
    background-color: #000;
    z-index: 10;
    height: 6vh;
}

.custom-select option {
    background-color: #000;
}

.custom-select select {
    border: none;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    margin: 0;
    display: block;
    width: 100%;
    padding: 12px 55px 15px 15px;
    font-size: 14px;
    color: #fff;
}
.custom-select:after {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 100%;
    line-height: 38px;
    content: "∨";
    text-align: center;
    color: #fff;
    font-size: 24px;
    border-left: 1px solid #fff;
    z-index: -1;
}

@media (max-width: 991.98px) {
    .palette {
        width: 25%;
        height: 30%;
    }
    .rc-slider {
        width: 250px;
        margin-left: 10px;
    }
    .custom-select {
        height: 3vh !important;
        max-width: 100px !important;
        min-width: 100px;
    }
    .colorPalette__slider {
        width: 170px;
    }

    .custom-select select {
        padding: 5px;
        font-size: 8px;
    }
    .custom-select::after {
        line-height: 22px !important;
        font-size: 12px !important;
        display: none;
    }
}
@media (max-width: 767.98px) {
    .palette {
        width: 50%;
        height: 20%;
    }
    .color__copy__msg h1 {
        padding: 10px 0;
        font-size: 40px;
    }
}
@media (max-width: 575.98px) {
    .palette {
        width: 100%;
        height: 10%;
    }
    .rc-slider {
        width: 140px !important;
        margin-left: 10px;
    }
    .colorPalette__title {
        display: none;
    }
}
@media (min-width: 1024px) {
    label.custom-select {
        height: 40px;
    }
}
@media (max-width: 1024px) and (orientation: landscape) {
    label.custom-select {
        height: 5vh !important;
    }
    .level {
        font-size: 10px;
    }
}
